package com.jsyl.lwbk.business.mapper;

import com.jsyl.lwbk.business.domain.ClassPlanDetail;
import com.jsyl.lwbk.business.dto.ClassPlanDetailDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClassPlanDetailMapper {

    List<ClassPlanDetail> findList(@Param("classPlanId") Long classPlanId,@Param("classTimes") Integer classTimes);

    int update(ClassPlanDetail classPlanDetail);

    int insert(ClassPlanDetail classPlanDetail);

    int updateLinkRuleType(@Param("id")Long id,@Param("linkRuleType") Integer linkRuleType);

    ClassPlanDetail findById(@Param("id")Long id);

    ClassPlanDetail getBaseInfo(@Param("id")Long id);

    List<ClassPlanDetailDTO> listThemeProject(@Param("classPlanId") Long classPlanId);
}
